.LinksWrapper {
  .pattern-center-blank {
    padding-top: 75px;
    background-color: #fff;
  }

  @media (max-width: 768px) {
    .pattern-center-blank {
      padding-top: 50px;
    }
  }
}

.LinksTop {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;

  &:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .3);
  }

  &:after {
    content: '';
    width: 150%;
    height: 4.375rem;
    background: #fff;
    left: -25%;
    bottom: -2.875rem;
    border-radius: 100%;
    position: absolute;
  }

  .pattern-attachment-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-origin: border-box;
    width: 100%;
    height: 400px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      pointer-events: none;
    }
  }

  .pattern-header {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    z-index: 1;

    h1 {
      color: #fff;
      font-size: 40px;
      font-weight: 500;
      width: 80%;
      margin: auto;
      padding: 0;
      border: 0;
    }
  }

  @media (max-width: 768px) {
    .pattern-attachment-img {
      height: 280px;
    }

    .pattern-header {
      top: 40%;

      h1 {
        font-size: 24px;
      }
    }
  }
}

.MainWrapper {
  min-height: 600px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 50px 10px 0;
  background-color: rgba(255, 255, 255, .8);
  animation: main 1s;

  .flex-items {
    align-items: start;
    .noLinks {
      display: block;
      color: #989898;
      font-size: 14px;
    }
  }

  .toc {
    .ant-anchor-link-active > .ant-anchor-link-title {
      color: #FE9600;
    }

    .ant-anchor-link-title:hover {
      color: #FE9600;
    }

    .ant-anchor-ink-ball {
      border: 2px solid #FE9600;
    }
  }

  @keyframes main {
    0% {
      opacity: 0;
      transform: translateY(50px)
    }
    100% {
      opacity: 1;
      transform: translateY(0)
    }
  }

  .example {
    height: 52px;
    line-height: 52px;
    text-align: center;

    i {
      background-color: #FE9600;
    }
  }

  .links > p {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    margin: 40px 0 80px;
    display: inline-block;
    color: #989898;
    font-size: 15px;
  }

  .links .link-title {
    padding-left: 0;
    border-left: none;
    margin: 50px 0 20px;

    .fake-title {
      font-weight: 400;
      color: #6d6d6d;
      padding-left: 10px;
      border-left: 3px solid orange;
    }
  }

  .links ul {
    margin: 0;
    list-style: none;
    padding: 0;
    width: 100%;
    display: inline-block;
  }

  .links ul li {
    line-height: 4;
    width: 32%;
    float: left;
    border: 1px solid #ececec;
    padding: 10px 30px;
    margin: 10px 4px;
    position: relative;
    overflow: hidden;
    -webkit-transition: all .3s;
    transition: all .3s;
    border-radius: 10px;
  }

  .links ul li:before {
    content: "";
    background-color: #FE9600;
    -webkit-transform: skew(45deg, 0);
    transform: skew(45deg, 0);
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: -60px;
    z-index: -1;
    -webkit-transition: all .5s;
    transition: all .5s;
  }

  .links ul li img {
    float: right;
    box-shadow: inset 0 0 10px #000;
    opacity: 1;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transition: all ease 1s;
    -webkit-transition: all ease 1s;
    -moz-transition: all ease 1s;
    -o-transition: all ease 1s;
    margin-top: 5px;
    width: 65px;
    height: 65px;
    padding: 2px;
    border-radius: 100%;
  }

  .links ul li .sitename {
    color: #FE9600;
    //padding-bottom: 10px;
    display: block;
    -webkit-transition: all .3s;
    transition: all .3s;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
  }

  .linkdes {
    color: #949494;
    font-size: 13px;
    padding: 10px 0;
    min-height: 46px;
    border-top: 1px dashed #ddd;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 25px;
    -webkit-transition: all .5s;
    transition: all .5s;
  }

  .post-list-show {
    animation: post-list-show .5s;
    -webkit-animation: post-list-show .5s;
    opacity: 1;
  }

  @keyframes post-list-show {
    0% {
      opacity: 0;
      -webkit-transform: translateY(80px);
      transform: translateY(80px)
    }
    100% {
      opacity: 1;
      -webkit-transform: translateY(0);
      transform: translateY(0)
    }
  }
  @media (min-width: 768px) {
    .links ul li:hover {
      color: #27323a;
      border: 1px solid #FE9600;
    }

    .links ul li:hover:before {
      width: 180%;
    }

    .links ul li:hover img {
      transform: rotate(360deg);
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
    }

    .links ul li:hover .linkdes {
      border-top: 1px dashed #fff;
    }
  }
  @media (max-width: 768px) {
    padding-top: 30px;
    min-height: 400px;
    .toc-box {
      display: none;
    }

    .page-header {
      margin-bottom: 30px;

      h1 {
        font-size: 16px;
        font-weight: 400;
        border: 1px dashed #ddd;
        padding: 10px;
        color: #828282;
      }
    }
  }
  @media (max-width: 768px) {
    .links ul li {
      width: 48.6%;
    }
  }
  @media (max-width: 630px) {
    .links ul li {
      width: 100%;
      margin: 10px 0;
    }
  }
}